<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>UI</title>
		<script src="/script.ashx?lib=framework.js"></script>
        <script src="/script.ashx?lib=framework-UnitTest.js"></script>
        <script src="/script.ashx?lib=framework-UI.js"></script>
        <script src="/script.ashx?lib=framework-standalone.js"></script>        
        <link rel="stylesheet" href="/script.ashx?css=style.css">
	</head>
	<body>
        <H1>Script UI Test</H1>
        
		<script type="text/javascript">
		    
            /*
		    var grp1 = new RexToy.UI.Controls.RadioGroupBox('Select a pet');		    
		    var r1 = new RexToy.UI.Controls.RadioButton('cat', 1);
		    var r2 = new RexToy.UI.Controls.RadioButton('dog', 2);
		    var r3 = new RexToy.UI.Controls.RadioButton('mouse', 3);
		    var r4 = new RexToy.UI.Controls.RadioButton('android', 4);
		    grp1.appendControl(r1);
		    grp1.appendControl(r2);
		    grp1.appendControl(r3);
		    grp1.appendControl(r4);
		    grp1.renderInto(document.body);
            */
		    var vp = new RexToy.UI.Controls.VPanel();

		    var btn1 = new RexToy.UI.Controls.Button('OK');
		    var btn2 = new RexToy.UI.Controls.Button('Cancel');
		    //btn1.setInline(true);
		    //btn2.setInline(true);

		    vp.appendControl(btn1);
		    vp.appendControl(btn2);

		    //btn1.renderInto(document.body);
		    //btn2.renderInto(document.body);
		    vp.renderInto(document.body);
            
        </script>
	</body>
</html>
